using System.Xml.Serialization;
using Commons.Models.Settings.Dtos.Matchers;

namespace Commons.Models.Settings.Dtos.Scores
{
	public class HighScoreDefinitionDto
	{
		[XmlAttribute(AttributeName = "code", Type = typeof(int))]
		public int Code { get; set; }

		[XmlAttribute(AttributeName = "name", Type = typeof(string))]
		public string Name { get; set; }

		[XmlAttribute(AttributeName = "periodicity", Type = typeof(string))]
		public string Periodicity { get; set; }

		[XmlElement(ElementName = "matcher", Namespace = "http://www.ibeltran.com/schema/game/matcher")]
		public MatcherDto Matcher { get; set; }
	}
}

